program_name="xd-torrent"
program_slug="xd-torrent"
program_description="A BitTorrent client made for I2P network"
version=""
build_depends="go make"
depends=""
sources="https://github.com/majestrate/XD.git"
tested_systems="freebsd"

do_build() {
	cd XD
	${gnumakebin} ${gnumakeparams}
}

do_install() {
	$subin ${gnumakebin} ${gnumakeparams} PREFIX="$usrdir" install
	[ "$?" -eq "0" ] && echo "$program_name has been installed successfully! CAUTION: Please use carefully because the content you download with XD may be illegal. You are responsible for your actions." || echo "$program_name has had some issues while installing. Please check for error messages on previous output to find out the problem."
}
